package com.theten52.demo.load.model;


public class JavaLibraryLoadNameInfo {
    private String prefix;

    private String suffix;

    public JavaLibraryLoadNameInfo() {
        String libraryName = System.mapLibraryName("");
        prefix = libraryName.substring(0, libraryName.lastIndexOf('.'));
        suffix = libraryName.substring(libraryName.lastIndexOf('.'));
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
}
